package com.huawei.fakedouyin.util;


import android.view.View;

import com.huawei.fakedouyin.util.SPUtil;
import com.huawei.faketaobao.constant.SPConstant;

import java.io.File;
import java.util.List;

/**
 * 作者: 王业通（wytaper495@qq.com）
 * 日期: {2023/5/15 10:44}
 * 备注:
 */
public interface LiveDataSet {


    //更换item播放
    LiveEventData<Boolean> showItem = new LiveEventData<>();
    //第一个item自动播放的监听
    LiveEventData<View> zeroItemInit = new LiveEventData<>();
    //有空间的通知
    LiveEventData<Boolean> hasSpaceNotify = new LiveEventData<>(false);
    //弹幕是否开启
    LiveEventData<Boolean> danmuSwitch = new LiveEventData<>();
    LiveEventData<Boolean> danmuSendView = new LiveEventData<>();
    LiveEventData<Integer> netMessage = new LiveEventData<>(1);
    //socket连接状态变更
    LiveEventData<Boolean> SocketConnectedStatus = new LiveEventData<>(false);
    LiveEventData<Boolean> serviceStatus = new LiveEventData<>(false);
    //收到socket消息
    LiveEventData<String> socketMsg = new LiveEventData<>();
    LiveEventData<String> watchMsg = new LiveEventData<>();

    //是否在后台
    LiveEventData<Boolean> isBackGround = new LiveEventData<>(false);
    //0.速度 1.字体大小  2.显示区域  3.不透明度
    LiveEventData<Integer> changePlaySet = new LiveEventData<>();
    //弹幕条数变化
    LiveEventData<Integer> danmuSizeChange = new LiveEventData<>();

    //键盘高度的监听
    LiveEventData<Integer> keyBoardHeight = new LiveEventData<>(SPUtil.Companion.getInstance().getInt(SPConstant.keyHeight, 700));


}

